const  Router = require('koa-router');
const  userRouter = new  Router();
let  userController =require('../controllers/user');

//路由配置  //登陆  注册
userRouter.get('/user/register',userController.showRegister)
.get('/user/login',async  ctx=>{
    ctx.render('login');
});
module.exports = userRouter;
